package cn.gene.timeyan.article.service;



import java.util.List;

/**
 * <p>
 * redis
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */

public interface Repository {
 /**
     * 点赞。状态为1

     */
    //void saveLikedRedis(Long  likeId,Long  byUserId );
    /**
     * 取消点赞。将状态改变为0

     */

    //void unlikeFromRedis(Long  likeId,Long  byUserId);

    /**
     * 从Redis中删除一条点赞数据
     */
    //void deleteLikedFromRedis(Long  likeId,Long  byUserId);
    /**
     * 该用户的点赞数加1

     */

    //void incrementLikedCount(Long  userId);

    /**
     * 该用户的点赞数减1
     */

    //void decrementLikedCount(Long  userId);

    /**

     * 获取Redis中存储的所有点赞数据

     * @return

     */

    //List<LikeVO> getLikedDataFromRedis();

/**

 * 获取Redis中存储的所有点赞数量

 * @return

 */
  //List<ArticleVO> getLikedCountFromRedis();


}
